package com.lazy.book.common.event;


import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 *
 * @author lazy
 * @since 2025-09-05
 */
@Getter
public abstract class BaseEvent<T> extends ApplicationEvent {
  private final T payload;

  protected BaseEvent(Object source, T payload) {
    super(source);
    this.payload = payload;
  }

}
